﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace teadmillSimulator {
    public class DataGenerator {
        private Random random = new Random();

        public int Pulse() {
            return random.Next(1, 260);
        }

        public int Speed() {
            return random.Next(0, 70);
        }

        public int Gear() {
            return random.Next(1, 7);
        }


        public string generateTeatmillData() {
            string str;

            str = "<s" + Speed() + "><p" + Pulse() + "><g" + Gear() + ">";

            return str;
        }
    }
}